### Project 13 LED Flashes **1.Overview** The LED blink is one of the more basic experiments. In the above example use of micro:bit, we have mentioned the 25 LED display of micro:bit. In this project, you will learn how to control an LED blink using a keyestudio digital white LED module and micro:bit sensor shield. Before testing, you should first turn off the 5\*5 LED function of micro:bit. ![](media/image-20260128134304465.png) **2.Components Required** - Micro:bit main board\*1 - Alligator Clip Cable\*3 - USB Cable\*1 - Keyestudio 1W LED Module (white)\*1 **3.Component Introduction:** **About keyestudio 1W LED Module For BBC micro:bit (Black and Eco-friendly)** This LED module is fully compatible with micro:bit control board. It will emit the white light. The maximum operating current is 400mA, and the maximum power is 1W. When using, connect the LED module to micro:bit control board using Crocodile clip line. There are total 6 rings on the module. Two G rings, two V rings and two S rings are separately connected. When using, G ring for ground; V for 3V; S for signal pin (0 1 2). When signal end is HIGH, LED lights. **4.Technical Parameters** - Working voltage: DC 3.0-3.3V - Working current: 400mA - Power: 1W - Light Color: white - Dimensions: 31mm\*27mm\*8mm - Weight: 2.4g - Environmental attributes: ROHS **5.Connection Diagram** Connect the keyestudio 1W LED Module to micro:bit main board with 3 Alligator clip cables. Ring S to P0, V to 3V, G to GND. Connect the micro:bit to your computer with a micro USB cable. ![](media/image-20260123111348320.png) **5.Coding** So now let's move to coding. Let us see how to code the LED to flash. Below are some steps to follow. Open the [https://makecode.micro:bit.org/\#editor](https://makecode.microbit.org/#editor) to write your code. Microsoft MakeCode is actually a platform that allows us to code with a micro:bit, and also provides an interactive simulator where we can debug and run our code, and will be able to see what to expect out right there on the site. Go to MakeCode and choose **My Projects** and click on **New Projects**. If you want to see the codes behind, then you can click on JavaScript and it will display JavaScript code there in IDE. ![](media/image-20260128134525707.png) **6.The following test code is for your reference:** ![](media/image-20260128134604782.png) ![](media/image-20260128134613058.png) **7.Test Results** Done wiring and powered up, send the code to micro:bit, you will see an LED blink on the module, with an interval about one second.